package com.vframework.system.menuPermission.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.vframework.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author codeGenerator
 * @since 2022-10-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_menu_permission")
@ApiModel(value="SysMenuPermission对象", description="")
public class SysMenuPermission extends BaseEntity<SysMenuPermission> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "菜单id")
    @TableField("menu_id")
    private Integer menuId;

    @ApiModelProperty(value = "权限id")
    @TableField("permission_id")
    private Integer permissionId;


    @Override
    protected Serializable pkVal() {
        return null;
    }

}
